<?php
if(!defined("ADMREAD")) exit();
global $conf,$sess,$lang,$ADMIN_PERM_ARRAY,$ADMIN_ID,$CHECK_ADMIN;
$block = array();
if(in_array('faq',$ADMIN_PERM_ARRAY) || in_array($ADMIN_ID,$CHECK_ADMIN['admid'])){
$block = array();
$block['id'] = 'faq';
$block['title'] = $lang['menu_faq'];
$block['link'] = array("\"faq.php?dn=index&ops=$sess[hash]\""=>$lang['all_cat'],
                       "\"faq.php?dn=faqlist&ops=$sess[hash]\""=>$lang['faq_all'],
                       "\"faq.php?dn=faqcatadd&ops=$sess[hash]\""=>$lang['all_add_cat'],
                       "\"faq.php?dn=faqadd&ops=$sess[hash]\""=>$lang['faq_add']
                       );
}
?>